Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize runtime caller capability checks #219

Merged
merged 1 commit into from
May 20, 2018

Conversation

franklinsch
Copy link
Collaborator

Internal function calls are checked wrt their caller capabilities. When a function calls originates from outside the contract, the caller capability is checked at runtime.

Previously, caller capabilities were checked at the entry of each function at runtime. Now, at runtime, they're only checked for the entry function. The subsequent caller capability checks are validated at compile-time.

@franklinsch franklinsch merged commit d101c43 into master May 20, 2018
@franklinsch franklinsch deleted the omit-capability-checks branch May 20, 2018 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant